//******************************************
// RollingDice2.java  Author:20172330
//******************************************
public class RollingDice2
 {
    public static void main(String[] args)
    {
       PairDice TwoDice = new PairDice();
       
       System.out.println("Total value: " + TwoDice.getTotal());
       System.out.println("die1: " + TwoDice.getFacevalue1() + "\t" + "die2: " + TwoDice.getFacevalue2());

       TwoDice.setFacevalue1(6);
       TwoDice.setFacevalue2(1);
       System.out.println();
       System.out.println("die1: " + TwoDice.getFacevalue1() + "\n" + "die2: " + TwoDice.getFacevalue2() + "\n" + "Totalvalue: " + TwoDice.getTotal());

       TwoDice.Roll();
       System.out.println();
       System.out.println("After rolling two dies" + "\n" + "die1: " + TwoDice.getFacevalue1() + "\n" + "die2: " + TwoDice.getFacevalue2() + "\n" + "Totalvalue: " + TwoDice.getTotal());
     }
 }
